<?php $currentCategory = $sf_request->getParameter('category') ?>
<div id="category-list" class="form">
  <h3>Рубрики блога</h3>
  <table>
  <tr><td></td><td class="category-count">Статей:</td></tr>
  <?php foreach ($category as $cat): ?>
     <?php if($cat->getSum() > 0): ?>
      <tr>
        <td><?php echo link_to_if($cat->getUrl() != $sf_request->getParameter('category'),
                      $cat->getName(), 
                      '@blog_category?category='.$cat->getUrl()
                      ); ?>
          <span class="category-description"><?php $cat->getDescription() ?></span>
        </td>
        <td class="category-count"><?php echo $cat->getSum() ?></td>
      </tr>
      <?php endif; ?>
  <?php endforeach; ?>
  </table>
</div>